package com.bluesea.report.dao;

import java.util.List;

import com.bluesea.report.entity.User;


public interface UserDao {
		//删除
		public int deleteByPrimaryKey(Integer id);
		//新增
		public int insert(User record);
	    //根据ID查询单个
	    public User selectByPrimaryKey(Integer id);
	    //根据用户名查询
	    public List<User> selectByname(String username); 
	    //查询全部
	    public List<User> selectAll();
	    //更新
	    public int updateByPrimaryKey(User record);

}
